package com.firewolf.rbac.security;

import org.springframework.security.web.authentication.WebAuthenticationDetails;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

/**
 * 作者：刘兴
 * 时间:19/3/6
 **/
public class CustomWebAuthenticationDetails extends WebAuthenticationDetails {


    private String verifycode;

    public CustomWebAuthenticationDetails(HttpServletRequest request) {
        super(request);
        verifycode = request.getParameter("verifycode");
    }

    public String getVerifycode() {
        return verifycode;
    }

    public void setVerifycode(String verifycode) {
        this.verifycode = verifycode;
    }
}
